Javascript: Avoid this and new - further reading? [closed]

Posted by Thomas Deutsch on Programmers See other posts from Programmers or by Thomas Deutsch
Published on 2012-08-30T16:46:06Z Indexed on 2012/08/30 21:50 UTC
Read the original article Hit count: 259

I do not want this to end in a sort of religious discussion, i want to collect some sources for further reading on this topic.

As shown here: Node.js Style and Structure Point 1: Avoid this and new

you can find a good example when it could be better to use closures instead of a prototype, and to make every argument explicit.

Ok, i agree - could be nice, but i need to know more. Can anyone recommend a good link?

Would this make my code 100% object-pattern-free ? (no factory-, repository-, module- pattern?)

© Programmers or respective owner

Related posts about design-patterns

Related posts about JavaScript